package com.dzu.easy;

/**
 * @author ZhaoDong
 * @date 2022/10/26 9:57
 * @description 521. 最长特殊序列 Ⅰ
 */
public class Test521 {
    public int findLUSlength(String a, String b) {
        if (a.equals(b)) {
            return -1;
        }
        return Math.max(a.length(), b.length());
    }

}
